package com.songaw.cangku.pojo.domain;

import com.songaw.cangku.pojo.entity.AppAccount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.session.RowBounds;

/**
 * TODO
 *
 * @author songaw
 * @date 2018/4/1 17:12
 */
@ApiModel(value = "AppAccountVo")
@Data
public class AppAccountVo extends AppAccount  {
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String tele;
    /**
     * 员工号
     *
     */
    @ApiModelProperty(value = "员工号(账号)")
    private String emplno;
    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名")
    private String realName;
    @ApiModelProperty(value = "真实姓名模糊查询")
    private String realNameFilter;
    /**
     * 类型  0 发货员 1  车工
     */
    @ApiModelProperty(value = "类型  0 发货员 1  车工")
    private String type;
    @ApiModelProperty(value = "分页参数位置  查询全部不用传")
    private int pageIndex = 0;
    @ApiModelProperty(value = "分页参数length  查询全部不用传")
    private int pageSize = Integer.MAX_VALUE;
    public RowBounds getRowBounds() {
        return new RowBounds(pageIndex, pageSize);
    }
}
